package com.ramos.kuaixiao.entity;

import android.os.Parcel;
import android.os.Parcelable;


public class AdviceBean implements Parcelable{
    public String id;
    public String content;
    public String commit_time;
    public String progress;
    public String complete_time;
    public String reply;


    protected AdviceBean(Parcel in) {
        id = in.readString();
        content = in.readString();
        commit_time = in.readString();
        progress = in.readString();
        complete_time = in.readString();
        reply = in.readString();
    }

    public static final Creator<AdviceBean> CREATOR = new Creator<AdviceBean>() {
        @Override
        public AdviceBean createFromParcel(Parcel in) {
            return new AdviceBean(in);
        }

        @Override
        public AdviceBean[] newArray(int size) {
            return new AdviceBean[size];
        }
    };


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(content);
        dest.writeString(commit_time);
        dest.writeString(progress);
        dest.writeString(complete_time);
        dest.writeString(reply);
    }

    @Override
    public String toString() {
        return "AdviceBean{" +
                "id='" + id + '\'' +
                ", content='" + content + '\'' +
                ", commit_time='" + commit_time + '\'' +
                ", progress='" + progress + '\'' +
                ", complete_time='" + complete_time + '\'' +
                ", reply='" + reply + '\'' +
                '}';
    }
}

